package cn.imjzm.runcarserve.service;

import cn.imjzm.runcarserve.pojo.User;

public interface RegistService {
        /**
         * 发送邮箱验证码
         */
        void sendEmailVerificationCode(String email);

        /**
         * 验证邮箱验证码
         */
        boolean verifyEmailCode(String email, String code);

        /**
         * 注册用户
         */
        String RegistUser(User user);
        String reset(String email, String code, String password);
}
